﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Request.Employee
{
    public class UpdateEmployeePasswordRequest
    {
        /// <summary>
        /// 员工编号
        /// </summary>
        public long EmployeeId
        {
            get;
            set;
        }


        /// <summary>
        /// 旧密码
        /// </summary>
        [Required(ErrorMessage = "旧密码必填")]
        public string OldPassword
        {
            get;
            set;
        }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "密码必填")]
        public string Password
        {
            get;
            set;
        }
    }
}
